package com.lhy.mymall.service;

import com.lhy.mymall.exception.MallException;
import com.lhy.mymall.vo.CartVO;

import java.util.List;

/**
 * @author: 卢辉宇
 * @date: 2022/12/18 11:46
 * @description: 邮件的servic
 */
public interface EmailService {
    void sendSimpleMessage(String to,String subject,String text);

    boolean saveEmailToRedis(String emailAddress, String verificationCode);

    boolean checkEmailAndCode(String emailAddress,String verificationCode);


}
